﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharedGenomics.Domain
{
    /// <summary>
    /// Corresponds to a single result in a fast epistasis job output file
    /// </summary>
    public class FastEpistasisAnalysisResult : AnalysisResult
    {
        //SNP1,SNP2,CHISQ,P,EMP1,EMP2
        [Snp]
        [AnalysisResultColumn("SNP1")]
        [ColumnDisplay("Snp1", Position = 0)]
        public override string SnpName { get; set; }

        [Snp]
        [AnalysisResultColumn("SNP2")]
        [ColumnDisplay("Snp2", Position = 1)]
        public string Snp2 { get; set; }

        [AnalysisResultColumn("CHISQ", DefaultOnParseFailed = double.NaN)]
        [ColumnDisplay("Chi Squared", Position = 2, Format = "F2")]
        public double ChiSquared { get; set; }
    }
}
